﻿using WT.OpenIddict.Domain.Shared.LifeTime;

namespace WT.OpenIddict.Domain.Manager.TokenManager;

public interface ITokenManager : IDomainService
{
    Task RevocateAllTokensAsyncByUserId(string userId);

    Task RevocateAllTokensAsyncByApplicationId(string applicationId);

    Task RevocateTokenAsnycByUserIdRecentlest(string userId);
}